<?php

namespace App\Http\Controllers\api;
use App\Models\Curriculum;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class HomeController extends CommonController
{
    /**
     * 首页二级分类
     */
    public function homeList(){
        $arr=Curriculum::get();
        return ['code'=>200,'msg'=>'查询成功','data'=>$arr];
    }
}
